﻿using System.Collections.Generic;
using BO;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC07Controller
    /// </summary>
    public class VYC07Controller
    {
        private static VYC07BO _vyc07Bo;
        public VYC07Controller()
        {
            //
            _vyc07Bo = new VYC07BO();
        }

        public List<ModelVYC07> GetAllList()
        {
            return _vyc07Bo.GetAllList();
        }

        public int AddData(ModelVYC07 model)
        {
            return _vyc07Bo.AddData(model);
        }

        public int EditData(ModelVYC07 model)
        {
            return _vyc07Bo.EditData(model);
        }

        public int DeleteData(ModelVYC07 model)
        {
            return _vyc07Bo.DeleteData(model);
        }

        public List<ModelVYC07> GetById(int id)
        {
            return _vyc07Bo.GetById(id);
        }
    }
}